package lock.redisRenewDistLock;

/**
 * 延迟队列实际元素
 * Redis的key-value结构
 *
 * @Author: ShenWei
 * @Date: 2024/07/02/9:05
 */
public class LockItem {
    private final String key;
    private final String value;

    public LockItem(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
